package com.dcl.spride;

public class Bean {
	String name;
	String pass;
	String url;

	public String getName() {
		return name;
	}

	public String getPass() {
		return pass;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	Bean() {
		NamePass np = new NamePass();
		np.readFromFile();
		if (np.getName() != null && np.getPass() != null) {
			name = np.getName();
			pass = np.getPass();
		} else {
			np.reNameAndPass("admin", "admin");
			name = np.getName();
			pass = np.getPass();
		}
		this.url = "http://192.168.0.1/goform/updateIptAccount";
	}
}
